
package com.qwer.service.accesscontrol;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qwer.model.accesscontrol.AccControlMapInfo;

public interface AccControlMapService {
    List<AccControlMapInfo> getUserCheckDatas(Integer UserId,Integer callId,String type);
    
    Page<AccControlMapInfo> findList(Pageable pageable,AccControlMapInfo model);
    
    void save(AccControlMapInfo model);
    
    void deleteById(Integer id);
    
    AccControlMapInfo findById(Integer id);
    
    List<AccControlMapInfo> findByCallUserIdAndCallIdAndType(AccControlMapInfo model);
    
    void deleteByCallIdAndUserId(Integer callId,Integer userId);
}
